Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> import sys
>>> sys.platform
'win32'
>>> print(sys.version)
3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)]
>>> import os
>>> os.getcwd()
'D:\\python3.8.5'
>>> os.environ
environ({'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\admin\\AppData\\Roaming', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'DESKTOP-KA1DQQ', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'DRIVERDATA': 'C:\\Windows\\System32\\Drivers\\DriverData', 'HOME': 'C:\\Users\\admin', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\admin', 'LOCALAPPDATA': 'C:\\Users\\admin\\AppData\\Local', 'LOGONSERVER': '\\\\DESKTOP-KA1DQQ', 'NUMBER_OF_PROCESSORS': '8', 'ONEDRIVE': 'C:\\Users\\admin\\OneDrive', 'OS': 'Windows_NT', 'PATH': 'D:\\python3.8.5\\Scripts\\;D:\\python3.8.5\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Users\\admin\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\admin\\AppData\\Local\\GitHubDesktop\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW', 'PROCESSOR_ARCHITECTURE': 'AMD64', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 142 Stepping 10, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '8e0a', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files', 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'PROGRAMW6432': 'C:\\Program Files', 'PSMODULEPATH': 'C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules', 'PUBLIC': 'C:\\Users\\Public', 'SESSIONNAME': 'Console', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\Windows', 'TEMP': 'C:\\Users\\admin\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\admin\\AppData\\Local\\Temp', 'USERDOMAIN': 'DESKTOP-KA1DQQ', 'USERDOMAIN_ROAMINGPROFILE': 'DESKTOP-KA1DQQ', 'USERNAME': 'admin', 'USERPROFILE': 'C:\\Users\\admin', 'WINDIR': 'C:\\Windows'})
>>> os.getenv('HOME')
'C:\\Users\\admin'
>>> improt datetime
SyntaxError: invalid syntax
>>> import datetime
>>> datetime.date.today()
datetime.date(2020, 9, 21)
>>> datetime.date.today().day
21
>>> datetime.date.today().month
9
>>> datetime.date.today().year
2020
>>> datetime.date.isoformat(datetime.date.today())
'2020-09-21'
>>> import time
>>> time.strftime("%H:%M")
'22:34'
>>> time.strftime("%H:%M")
'22:35'
>>> time.strftime("%A:%P")
Traceback (most recent call last):
  File "<pyshell#18>", line 1, in <module>
    time.strftime("%A:%P")
ValueError: Invalid format string
>>> time.strftime("%A %p")
'Monday PM'
>>> import html
>>> html.escape("This HTML fragment contains a <script>script</script>tag.")
'This HTML fragment contains a &lt;script&gt;script&lt;/script&gt;tag.'
>>> html.unescape("I &hearts;Python's &lt;standard library&gt;.")
"I ♥Python's <standard library>."
>>> 